package edu.java.lectures.lec10.exceptions.example.cafe;

import java.util.Scanner;

public class VirtualCafe {

    public static void main(String[] args) {
	Client client = new Client();
	Scanner input = new Scanner(System.in);
	System.out.print("Enter coffee temperature: ");
	double temperature = input.nextDouble();
	input.close();
	System.out.println("[Virtual Cafe]\tMaking coffee with temperature "
		+ temperature);
	Coffee cupOfCoffee = new Coffee(temperature);
	Waitress waitress = new Waitress();
	waitress.serveCoffee(client, cupOfCoffee);
    }
}
